package com.bw.lk.adminUser.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.bw.lk.adminUser.vo.AdminUser;
import com.bw.lk.adminUser.vo.Role;
import com.bw.lk.adminUser.vo.User_role;
import com.bw.lk.user.vo.User;

public interface AdminUserDao {
  
	AdminUser getUser(AdminUser user);

	List<User> getUsers();

	AdminUser getUserByUid(Integer uid);

	List<Role> getRows();

	List<User_role> getUser_roleListByUid(@Param("uid")Integer uid);

	void addUser_role(@Param("uid")Integer uid,@Param("str") String str);

	void addAdminUser(AdminUser adminUser);

	void removeAdminUser(Integer uid);

	void deleteUser_role(Integer uid);
}